<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

</head>
<body>
	<div id=root>
	<input v-model="msg">
	<div  v-cloak>{{msg}}</div>
	<div v-html="msg2" :title="msg"></div>
</div>
<!-- 	这样取值也可以 -->
<!-- 	<div id=root v-text="msg"></div> -->
<!-- 	<div id=root v-html="msg"></div> -->
<script type="text/javascript" src=https://vuejs.org/js/vue.js></script>
<style type="text/css">
	[v-cloak]{
		display: none;
	}
</style>
	<script type="text/javascript">
	new Vue({
		el:"#root"
// 		,template:'<h1>hh {{msg}}</h1>'
		,data:{msg:'32222233'
			,ti:9999
			,msg2:"<h1>ssss</h1>"
		}
		,methods:{
			func:function(t){
			this.msg='hello'
			}
		}
		
	})
	</script>
</body>
</html>